import request from '@/utils/request'
const baseUrl = process.env.VUE_APP_BASE_API

// 查询试题列表
export function getList (query) {
    return request({
        url: '/system/hazard/list',
        method: 'get',
        params: query
    })
}
// 查询试题详细
export function getHideDetail (id) {
    return request({
        url: '/system/hazard/' + id,
        method: 'get'
    })
}


// 删除试题
export function delHide (id) {
    return request({
        url: '/system/hazard/' + id,
        method: 'delete'
    })
}